-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move time series preparation for cosinor analysis to new function #913
Conversation
…R to a seperate function to ease re-using it in g.part5 #708
…works with both 5 second and 60second aggregated epochs
…alculated seperately for MM and WW window
…be applied, and adding division by 1000 because analyses expect g-units #708
…apply to the entire recording #708
…R to a seperate function to ease re-using it in g.part5 #708
…works with both 5 second and 60second aggregated epochs
…alculated seperately for MM and WW window
…be applied, and adding division by 1000 because analyses expect g-units #708
…apply to the entire recording #708
…issue708_cosinor_part5
… is to add them to part 5
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## master #913 +/- ##
==========================================
+ Coverage 78.12% 78.16% +0.03%
==========================================
Files 92 93 +1
Lines 12308 12323 +15
==========================================
+ Hits 9616 9632 +16
+ Misses 2692 2691 -1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have already revised the changes and confirmed that all cosinor-related variables are exported in part 2. Tests are working and I don't see the need for new tests, maybe only for the calculation of the R2 if you think that is relevant.
Apart from that, only one minor comment, the documentation for cosinor in man/GGIR.Rd states that the argument is deprecated after version 1.5-24, but this is not correct, right? This argument is still used in GGIR to trigger the cosinor analyses.
Well spotted, I think I accidentally copied this line from the parameter above. Will fix it now. |
…ation in GGIR.Rd, and move NEWS item to new 2.10-5 section #708
Checklist before merging:
inst/NEWS.Rd
with a user-readable summary. Please, include references to relevant issues or PR discussions.DESCRIPTION
andCITATION.cff
files.